<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta content="IE=8" http-equiv="X-UA-Compatible" />
        <title></title>
        <link rel="stylesheet" type="text/css" href="__TMPL__../Admin/Public/base.css" />
        <style type="text/css">
            b{padding:0 4px;color:#2E52B0;}
            #outterbox{
                width:540px;
                height:160px;
                margin:0 auto;
                margin-top:60px;
                background-color:#BECB9D;
                padding:4px;
                font:13px Verdana,"宋体";
                -moz-border-radius:4px;
                -webkit-border-radius:4px;
            }
            #innerbox{
                background-color:#EBF4D8;
                width:540px;
                height:160px;
                -moz-border-radius:4px;
                -webkit-border-radius:4px;
            }
            #bgbox{
                width:520px;
                height:140px;
                padding:10px;
                background:url(__TMPL__../Admin/Public/img/result_ok.png) no-repeat right bottom;
            }
            #msg{
                font-size:16px;
                line-height:22px;
                text-indent:30px;
                font-weight:bold;
                height:22px;
                padding-top:20px;
            }
            #info{
                height:20px;
                line-height:20px;
                font-size:14px;
                text-indent:30px;
                color:#535353;
                padding:4px 0 20px;
            }
            #outterbox.fail{
                background-color:#B2422F;
            }
            #outterbox.fail #innerbox{
                background-color:#F8C8B8;
            }
            #outterbox.fail #msg{
                color:#000;
            }
            #outterbox.fail #bgbox{
                background:url(__TMPL__../Admin/Public/img/result_fail.png) no-repeat right bottom;
            }
            #operation{
                padding-left:22px;
            }
            #operation li{
                float:left;
                margin:0 6px;
            }
        </style>
        <script type="text/javascript">
            function doJump(href){
                if(href=='back'){
                    //TODO 历史回退后，菜单要重新定位
                    history.go(-1);
                }else{
                    window.location.href='__URL__/'+href;
                }
            }
        </script>
    </head>
    <body>
        <div id="outterbox" class="{$type}">
            <div id="innerbox">
                <div id="bgbox">
                    <p id="msg">{$msg}</p>
                    <p id="info">{$info}</p>
                    <ul id="operation">
                        <iterate name="urls" id="k">
                        <li>
                            <button type="button" class="btn" onclick="doJump('{$k[1]}')">{$k[0]}</button>
                        </li>
                        </iterate>
                    </ul>
                </div>
            </div>
        </div>
    </body>
</html>
